package com.cloud.ui.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import com.cloud.ui.service.UserService;
		
@RestController
public class UserController {

	@Autowired
	private UserService userService;
		
	@GetMapping("/user")
	public Map<String, Object> users() {
		return userService.user();
	}

}
